/**
 * 
 */
package com.redoor.iot.security.rbac;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;

import org.springframework.security.core.Authentication;

import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;

/**
 * @author Administrator
 *
 */
public interface RbacService {
	boolean hasPermission(HttpServletRequest request,Authentication authentication) throws JsonParseException, JsonMappingException, IOException;
}
